<!DOCTYPE html>
<html>
<head>
<script>
	console.log("this is log");
	function myFunction()
	{
		console.log("Hello World!");
	}
</script>
</head>

<body>
	<button onclick="myFunction()">Try it</button>
</body>

</html>